import React, {ChangeEventHandler, useState} from 'react';
import './App.css';
import ColorPickerPanel from './ColorPicker/ColorPickerPanel';
import {Color} from './ColorPicker/color';

function App() {
  const [color, setColor] = useState<Color>(new Color('rgb(166,57,24)'));

  return (
    <div style={{width: '300px'}}>
      <ColorPickerPanel defaultValue={color} ></ColorPickerPanel>
    </div>
  );
}

export default App;

